package pl.softech.oldchart;

import java.awt.Color;
import java.awt.geom.Point2D;
import java.util.Collection;
import java.util.Map;

public interface IGraph2DModel {
	
	public double getMaxX();
	public double getMaxY();
	
	public double getMinX();
	public double getMinY();
	
	public Map<Point2D, String> getPointsLabels();
	public Map<Double, String> getXAxisLabels();
	public Map<Double, String> getYAxisLabels();
	
	public Collection<Point2D> getPoints();
	
	public Color getGraphColor();
	public void setGraphColor(Color color);
	
	public boolean showXAxisLabels();
	public boolean showYAxisLabels();
	
	public void setShowXAxisLabels(boolean bFlag);
	public void setShowYAxisLabels(boolean bFlag);
	
	public String getName();
	
	public boolean drawCoordinates();
	public void setDrawCoordinates(boolean flag);
	
	public boolean isSelected();
	public void setSelected(boolean bFlag);
}
